contentDocument

public abstract Optional<Document> contentDocument()

Returns an Optional that contains the document of the current FRAME/IFRAME element if it exists, otherwise an empty Optional.

Throws

when this instance is closed